# movtest2.S - An example of moving register data to memory
.section .data
	value:
		.int 1
.section .text
.globl _start
	_start:
		movl $100, %eax  # Move immediate 100 to reg eax
		movl %eax, value # Move reg data in eax from eax to value
		movl value, %ecx # Move mem date in mem from mem to ecx
		movl $1, %eax    # Call for exit
		movl $0, %ebx
		int  $0x80
